from django.db import models
from django.utils import timezone

from apis.models.group import Group
from apis.models.people import People


class PeopleGroup(models.Model):
    people = models.ForeignKey(People, on_delete=models.CASCADE)
    group = models.ForeignKey(Group, on_delete=models.CASCADE)
    created = models.DateTimeField(auto_now_add=True)
